.toc {
  user-select: none;
  a {
    font-size: $toc-size;
    @include font-color("color-text");
  }
  ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    line-height: 1.7rem;
  }
  .toc-title{
    text-align: center;
  }
  .toc-content {
    padding: 20px;
  }

  @media screen and (max-width: $single-column-max-width) {
    line-height: 2em;
    margin-top: 30px;
    margin-left: 0;
    margin-right: 0;
    .toc-content {
      padding: 10px;
    }
  }
}

.toc a.toc-active{
  @include font-color("color-toc-active");
}
.toc i{
  font-size: inherit;
}

.toc li[data-toc-toggle="true"] > span{
  position: relative;
  right: 16px;
}